package com.gitee.srurl.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.srurl.core.domain.SusUserDomain;
import com.gitee.srurl.core.dto.UpdatePasswordDTO;
import com.gitee.srurl.core.util.PageQuery;

/**
 * @author zxw
 * @date 2023/5/2 22:28
 */
public interface ISusUserService extends IService<SusUserDomain> {
    IPage<SusUserDomain> getUserList(PageQuery pageQuery, SusUserDomain userDomain);

    SusUserDomain getUserInfo(Long userId);

    void updateUser(SusUserDomain userDomain);

    void addUser(SusUserDomain userDomain);

    void updatePassword(Long userId, UpdatePasswordDTO updatePasswordDTO);
}
